package com.market.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.market.dao.DomainObject;

/**
 * Test connection
 * @author luunt
 *
 */

@Entity
@Table (name = "AIRPORTS")
public class Airport implements Serializable, DomainObject {
	
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue
	@Column (name = "AIRPORTID")
	private String airportId;
	
	@Column (name = "AIRPORTNAME")
	private String airportName;
	
	@Column (name = "COUNTRY")
	private String country;
	
	@Column (name = "ZONE")
	private String zone;
	
	@Column (name = "TYPESERVICE")
	private String typeService;
	
	@Column (name = "NOTES")
	private String notes;
	
	public String getAirportId() {
		return airportId;
	}
	public void setAirportId(String airportId) {
		this.airportId = airportId;
	}
	public String getAirportName() {
		return airportName;
	}
	public void setAirportName(String airportName) {
		this.airportName = airportName;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getZone() {
		return zone;
	}
	public void setZone(String zone) {
		this.zone = zone;
	}
	public String getTypeService() {
		return typeService;
	}
	public void setTypeService(String typeService) {
		this.typeService = typeService;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
}
